using System;
using System.ComponentModel;


namespace LongNet.Web
{
    /// <summary>
    /// Represents a configuration element for <see cref="VerifyImage"/>. 
    /// This class cannot be inherited. 
    /// </summary>
    public class VerifyImageElement
    {
        #region Constants

        internal const string LocalName = "verifyImage";

        internal static class PropertyName
        {
            internal const string Options = "options";
        }

        #endregion

        #region Fields

        private VerifyImage.GenerateOptions options = VerifyImage.GenerateOptions.Letter;

        #endregion

        #region Setting Properties

        /// <summary>
        /// Gets the GenerateOptions of <see cref="VerifyImage"/> configuration.
        /// The value is <c>VerifyImage.GenerateOptions.Letter</c> by default.
        /// </summary>
        public VerifyImage.GenerateOptions Options
        {
            get { return this.options; }
            internal set { this.options = value; }
        }

        #endregion
    }
}
